package com.soushin.mvpdemo.network;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Path;
import com.soushin.mvpdemo.model.WeatherModel;

/**
 * 自定义api
 * @author SouShin
 * @time 2018/11/20 17:07
 */
public interface ApiService {

    @GET("{cityId}.html")
    Observable<WeatherModel> getWeatherInfo(@Path("cityId") int cityId);

}
